package day07;

public class OverloadDemo {
    public static void main(String[] args) {
        show();
        show("刘顺国");
        show("刘顺国",33);
        show(33,"刘顺国");
        show("刘顺国",33,"济南市历城区君授路588号中海华山珑城C区8号楼2单元402室");
    }
    public static void show(){}
    public static void show(String name){}
    public static void show(String name,int age){}
    public static void show(int age,String name){}
    public static void show(String name,int age,String address){}
//    public static void show(){return 1;}//编译错误，重载与返回值类型无关
//    public static void show(String address){}//编译错误，重载与参数名称无关
}
